package com.chmingx.JavaBasic.lambda;

public class Student extends Person {
    private int classId;
    private int score;

    public Student(String name) {
        super(name);
    }

    public Student(String name, int classId, int score) {
        super(name);
        this.classId = classId;
        this.score = score;
    }

    public int getClassId() {
        return classId;
    }

    public void setClassId(int classId) {
        this.classId = classId;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }
}
